import request from '@/utils/request'

// 查询客户参会活动信息列表
export function listUserActivity(query) {
  return request({
    url: '/bussiness/userActivity/list',
    method: 'get',
    params: query
  })
}

// 查询客户参会活动信息详细
export function getUserActivity(id) {
  return request({
    url: '/bussiness/userActivity/' + id,
    method: 'get'
  })
}

// 新增客户参会活动信息
export function addUserActivity(data) {
  return request({
    url: '/bussiness/userActivity',
    method: 'post',
    data: data
  })
}

// 修改客户参会活动信息
export function updateUserActivity(data) {
  return request({
    url: '/bussiness/userActivity',
    method: 'put',
    data: data
  })
}

// 删除客户参会活动信息
export function delUserActivity(id) {
  return request({
    url: '/bussiness/userActivity/' + id,
    method: 'delete'
  })
}
